package com.lc.admin.mapper;

import com.lc.admin.bean.Reservation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReservationMapper {

   List<Reservation> listByPage(Reservation reservation);

   void save(Reservation reservation);

   int queryCountByMobileAndTime(Reservation reservation);

   int queryCountByDate(Reservation reservation);

   int update(Reservation reservation);

   int autoExpire();
}
